package com.base.kotlin.mvp


interface IView {

    fun showLoading()

    fun hideLoading()

    fun onError(e: Throwable)

    interface DefaultView : IView {
        /**
         * 通用返回类型
         *
         * @param data
         */
        fun onDefaultSuccess(action: Int, data: Any?)
    }
}